Skip to content

LCORE-2933: cleanup#2172

Merged
tisnik merged 3 commits into
lightspeed-core:mainfrom
tisnik:lcore-2933-cleanup
Jul 19, 2026
Merged

LCORE-2933: cleanup#2172
tisnik merged 3 commits into
lightspeed-core:mainfrom
tisnik:lcore-2933-cleanup

Conversation

@tisnik

@tisnik tisnik commented Jul 19, 2026

Copy link
Copy Markdown
Contributor

Description

LCORE-2933: cleanup

Type of change

  • Refactor
  • New feature
  • Bug fix
  • CVE fix
  • Optimization
  • Documentation Update
  • Configuration Update
  • Bump-up service version
  • Bump-up dependent library
  • Bump-up library or tool used for development (does not change the final image)
  • CI configuration change
  • Konflux configuration change
  • Unit tests improvement
  • Integration tests improvement
  • End to end tests improvement
  • Benchmarks improvement

Tools used to create PR

  • Assisted-by: N/A
  • Generated by: N/A

Related Tickets & Documents

  • Related Issue #LCORE-2933

Summary by CodeRabbit

  • Documentation
    • Added developer documentation for conversation history, persistent storage, and quota scheduling.
    • Updated documentation navigation and table of contents to include the new topics.
    • Added a quota scheduler sequence diagram illustrating scheduling and quota management workflows.

@coderabbitai

coderabbitai Bot commented Jul 19, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Warning

Review limit reached

@tisnik, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 29 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: cd811311-5eb3-4458-8bde-478d93c19adf

📥 Commits

Reviewing files that changed from the base of the PR and between 6e500a7 and 9e47af5.

⛔ Files ignored due to path filters (1)
  • docs/devel_doc/quota_scheduler.svg is excluded by !**/*.svg
📒 Files selected for processing (6)
  • docs/README.md
  • docs/devel_doc/conversation_history.md
  • docs/devel_doc/persistent_storage.md
  • docs/devel_doc/quota_scheduler.md
  • docs/devel_doc/quota_scheduler.puml
  • docs/index.md

Walkthrough

Added developer documentation pages for conversation history, persistent storage, and quota scheduling, linked them from documentation navigation, and documented the quota scheduler flow with a PlantUML diagram.

Changes

Developer documentation

Layer / File(s) Summary
Documentation pages and navigation
docs/devel_doc/*.md, docs/README.md, docs/index.md
Added three developer documentation pages and linked them from both documentation navigation lists.
Quota scheduler diagram
docs/devel_doc/quota_scheduler.puml
Added a sequence diagram covering scheduler startup, database initialization, periodic quota revocation, quota updates, and sleeping.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Possibly related PRs

🚥 Pre-merge checks | ✅ 6 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Title check ❓ Inconclusive The title is too vague and does not clearly describe the documentation changes in this PR. Rename it to mention the main docs update, such as adding developer docs for conversation history, persistent storage, and quota scheduler.
✅ Passed checks (6 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Performance And Algorithmic Complexity ✅ Passed Docs-only changes in docs/*.md and a PlantUML diagram; no executable code, loops, API calls, or list operations were introduced.
Security And Secret Handling ✅ Passed PR is docs/assets only; no secrets, authz gaps, injection paths, sensitive-data leaks, or K8s secret manifests were changed.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
✨ Simplify code
  • Create PR with simplified code

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@docs/devel_doc/conversation_history.md`:
- Line 3: Replace the self-referential image links in
docs/devel_doc/conversation_history.md lines 3-3,
docs/devel_doc/persistent_storage.md lines 3-3, and
docs/devel_doc/quota_scheduler.md lines 3-3. Each page should reference its
corresponding rendered diagram asset, with quota_scheduler.md using the asset
generated from quota_scheduler.puml, or replace the image with regular Markdown
content.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: 92e86cb9-234c-4f9c-842e-0475ceea75b4

📥 Commits

Reviewing files that changed from the base of the PR and between 7d0895c and 6e500a7.

⛔ Files ignored due to path filters (3)
  • docs/devel_doc/convesation_history.svg is excluded by !**/*.svg
  • docs/devel_doc/persistent_storage.svg is excluded by !**/*.svg
  • docs/devel_doc/quota_scheduler.svg is excluded by !**/*.svg
📒 Files selected for processing (6)
  • docs/README.md
  • docs/devel_doc/conversation_history.md
  • docs/devel_doc/persistent_storage.md
  • docs/devel_doc/quota_scheduler.md
  • docs/devel_doc/quota_scheduler.puml
  • docs/index.md
📜 Review details
⏰ Context from checks skipped due to timeout. (14)
  • GitHub Check: bandit
  • GitHub Check: mypy
  • GitHub Check: Pyright
  • GitHub Check: integration_tests (3.13)
  • GitHub Check: Pylinter
  • GitHub Check: spectral
  • GitHub Check: build-pr
  • GitHub Check: E2E: server mode / ci / group 3
  • GitHub Check: E2E: library mode / ci / group 1
  • GitHub Check: E2E: server mode / ci / group 2
  • GitHub Check: E2E: library mode / ci / group 3
  • GitHub Check: E2E: server mode / ci / group 1
  • GitHub Check: E2E: library mode / ci / group 2
  • GitHub Check: E2E Tests for Lightspeed Evaluation job
🧰 Additional context used
📓 Path-based instructions (1)
**/*

📄 CodeRabbit inference engine (Custom checks)

**/*: Flag meaningful O(n^2)+ algorithms on non-trivial inputs, including handlers and Kubernetes list operations.
Flag N+1 patterns that list items and then query once per item, including Kubernetes API and database access.
Flag expensive work inside loops, including API calls, JSON parsing, and regex compilation.
Flag unbounded growth in caches, watchers, or buffers when eviction or limits are missing.
Flag missing pagination or limits on list operations and API endpoints.
Flag secrets or tokens logged in plaintext or hardcoded in source.
Flag API endpoints missing authentication or authorization.
Flag injection vulnerabilities, including SQL injection, command injection, and path traversal.
Flag sensitive data leaked in API responses, WebSocket messages, or logs.
Flag Kubernetes Secrets and Red Hat secrets missing OwnerReferences.

Files:

  • docs/devel_doc/quota_scheduler.puml
  • docs/devel_doc/quota_scheduler.md
  • docs/devel_doc/conversation_history.md
  • docs/README.md
  • docs/index.md
  • docs/devel_doc/persistent_storage.md
🔇 Additional comments (3)
docs/README.md (1)

75-79: LGTM!

docs/index.md (1)

82-86: LGTM!

docs/devel_doc/quota_scheduler.puml (1)

1-30: LGTM!

Comment thread docs/devel_doc/conversation_history.md Outdated
@@ -0,0 +1,3 @@
# Conversation history

![Conversation history](./conversation_history.md)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎯 Functional Correctness | 🟠 Major | ⚡ Quick win

Replace the self-referential Markdown image sources.

All three pages attempt to render their own .md file as an image, so the documentation diagrams will fail to display.

  • docs/devel_doc/conversation_history.md#L3-L3: reference the actual rendered conversation-history asset or use regular Markdown content.
  • docs/devel_doc/persistent_storage.md#L3-L3: reference the actual rendered persistent-storage asset or use regular Markdown content.
  • docs/devel_doc/quota_scheduler.md#L3-L3: reference the rendered asset generated from quota_scheduler.puml.
📍 Affects 3 files
  • docs/devel_doc/conversation_history.md#L3-L3 (this comment)
  • docs/devel_doc/persistent_storage.md#L3-L3
  • docs/devel_doc/quota_scheduler.md#L3-L3
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@docs/devel_doc/conversation_history.md` at line 3, Replace the
self-referential image links in docs/devel_doc/conversation_history.md lines
3-3, docs/devel_doc/persistent_storage.md lines 3-3, and
docs/devel_doc/quota_scheduler.md lines 3-3. Each page should reference its
corresponding rendered diagram asset, with quota_scheduler.md using the asset
generated from quota_scheduler.puml, or replace the image with regular Markdown
content.

@tisnik
tisnik force-pushed the lcore-2933-cleanup branch from 6e500a7 to 9e47af5 Compare July 19, 2026 11:40
@tisnik
tisnik merged commit f70cc89 into lightspeed-core:main Jul 19, 2026
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant